<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

//
include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'base.item.class.php');

class CoreZCTABase extends BaseItemBase {
	
	//constructor
	function CoreZCTABase() {
		parent::BaseItemBase();
		
		$this->table = 'pp_core_zones_zctas';
		$this->prefix = 'zctas_';
		$this->_table_owner_usable = false;
		$this->item_fields = array('id', 'name', 'code');
		$this->sort_fields = array('=countries_id+', 'code+', 'name+');
		$this->filter_fields = array('=countries_id:=');
		$this->filter_map = array('country' => '=countries_id:=');
	}
	
	//methods
}
//
?>